package com.helen.entity;

import java.util.List;

/**
 * Created by yang on 2018/7/9.
 */

public class CommentDetailEntity {


    /**
     * code : 0
     * msg : 获取成功
     * id : 12
     * imgs : [{"id":45,"url":"http://39.104.50.19/Images/201807091052284977533.jpg"},{"id":46,"url":"http://39.104.50.19/Images/201807091052284997533.jpg"}]
     * userimg : http://39.104.50.19/Images/201807090907127722879.jpg
     * username : 〖不二〗
     * time : 2018-07-09 10:52
     * content : 很纠结
     * level : 5
     * productid : 5
     * productname : 测试赛哈发生的回复
     * productimg : http://39.104.50.19/Images/201804250933313061842.png
     * price : 0.01
     * spec :
     */

    private int code;
    private String msg;
    private int id;
    private String userimg;
    private String username;
    private String time;
    private String content;
    private int level;
    private int productid;
    private String productname;
    private String productimg;
    private double price;
    private String spec;
    private List<ImgsBean> imgs;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserimg() {
        return userimg;
    }

    public void setUserimg(String userimg) {
        this.userimg = userimg;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getProductid() {
        return productid;
    }

    public void setProductid(int productid) {
        this.productid = productid;
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname;
    }

    public String getProductimg() {
        return productimg;
    }

    public void setProductimg(String productimg) {
        this.productimg = productimg;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public List<ImgsBean> getImgs() {
        return imgs;
    }

    public void setImgs(List<ImgsBean> imgs) {
        this.imgs = imgs;
    }

    public static class ImgsBean {
        /**
         * id : 45
         * url : http://39.104.50.19/Images/201807091052284977533.jpg
         */

        private int id;
        private String url;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
